Open
Conversation
- Fix I2C pins in variant.h (GPIO21/22 → GPIO4/5 per datasheet) - Fix GPS UART pins in platformio.ini (UART0 1/3 → UART1 21/19) - Fix radio_set_tx_power signature (uint8_t → int8_t) - Remove conflicting duplicate defines between variant.h and Board.h (P_LORA_BUSY was RADIOLIB_NC vs 13, ADC_MULTIPLIER was 1.85 vs 5761) - Remove stale LoRa/WisBlock defines from variant.h (Board.h is authoritative) - Remove "ethernet" and "can" from board JSON connectivity - Use static SPIClass for radio init (matches Heltec V3 convention) - Remove build_unflags=-Os (keep size optimization for 4MB flash) Verified against RAK11200/RAK13300 datasheets
andyshinn
reviewed
Mar 5, 2026
|
Seems to work. I flashed on mine locally. |
Contributor
Author
Great, just added a wifi variant too. https://mcimages.weebl.me/?commitId=ashinn/rak11200-support-rebased&variant=RAK_11200_companion_radio_wifi |
Contributor
Author
|
@liamcottle @ripplebiz This PR supersedes #800 and addresses all comments that were made there. I've checked against RAK11200 and RAK13300 datasheets and am pretty sure all mappings are correct now. @andyshinn confirms it's working. No clue how common this board is these days but the variant works. Summary of changes made compared to #800 Pin corrections:
Board code cleanup:
Header file (pins.h) simplified:
Radio code improved:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes PR #800
@zenire @andyshinn please test this firmware:
This PR can be closed if andyshinn#1 is mergedOriginal PR closed in favor of this one.This fw is tested and works.